package com.jsbs.iam.user.service.impl;

import com.jsbs.iam.user.entity.IamAdminRoleUserInfo;
import com.jsbs.iam.user.mapper.IamAdminRoleUserInfoMapper;
import com.jsbs.iam.user.service.IamAdminRoleUserInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class IamAdminRoleUserInfoServiceImpl implements IamAdminRoleUserInfoService {

    @Autowired
    private IamAdminRoleUserInfoMapper iamAdminRoleUserInfoMapper;

    @Override
    public Long queryByRoleCode(String adminRoleCode) {
        return iamAdminRoleUserInfoMapper.queryByRoleCode(adminRoleCode);
    }
}
